SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO


CREATE PROCEDURE dbo.[DnnProduct_AutomaticStuckOrderHandling_DeleteLastOrderStatuses]
AS
BEGIN
	DECLARE @sql NVARCHAR(MAX)
	
	SET @sql = 'DELETE FROM DnnProduct_AutomaticStuckOrderHandling_LastOrderStatuses'
	
	EXECUTE sp_executesql @sql
	
	SELECT @@ROWCOUNT
	
END
GO
